#!/bin/bash
cd $(dirname $0);

name=$1
ova_file=$2

if [ $# -ne 2 ];then
    echo "sample: scripts name ova_file"
    exit 1
fi

./ovftool/ovftool -ds=datastore1 -dm=thin -n=${name} ${ova_file}   vi://root@192.168.31.215;
